<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head/head.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=path%>/css/body.css" />
<link rel="stylesheet" type="text/css"
	href="<%=path%>/css/theme/<%=peeling%>/jquery-ui-1.8.1.custom.css" />
<link rel="stylesheet" type="text/css"
	href="<%=path%>/js/vendor/formValidator/1_6_2/css/validationEngine.jquery.css" />
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/jquery-1.4.2.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine-cn.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jstree/v_1_0rc2/jquery.jstree.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/util/v_1_0/error.js"></script>
<script type="text/javascript"
	src="<%=path%>/page/system/sys_organization_tree.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/ui/v_1_0/style.js"></script>

<link type="text/css" rel="stylesheet"
	href="<%=path%>/js/vendor/jquery/jqueryalert/jquery.alerts.css" />
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/jqueryalert/jquery.alerts.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/jqueryalert/jquery.ui.draggable.js"></script>
<title>组织机构管理</title>
</head>
<body>
<div class="tagContent" style="margin-top: 10px;">
<table>
	<tr>
		<td style="width: 50%;">
		<fieldset class="fieldset"><legend>组织机构显示区</legend>
		<div style="overflow: auto; height: 96%;">
		<div id="sysOrganization_tree"></div>
		</div>
		</fieldset>
		</td>
		<td style="width: 50%;">
		<fieldset class="fieldset"><legend>组织机构显示区</legend>
		<form id="menuForm">
		<div id="repeatName" class="errorMessage" style="margin-left: 44px"></div>
		<table style="display: none" id="menuTable" align="center"
			class="mainTable">
			<tr>
				<td><label for="name">机构名称：</label></td>
				<td><input type="text" name="sysOrganizationBean.name"
					class="validate[required,custom[chineseEnglishLine],length[0,40]]"
					id="name" /><font color="red">*</font><input type="hidden"
					name="sysOrganizationBean.id" id="id" /><input type="hidden"
					name="sysOrganizationBean.orderNo" id="orderNo" /><input
					type="hidden" name="sysOrganizationBean.parentId" id="parentId" /><input
					type="hidden" name="selectId" id="selectId" /></td>
			</tr>
			<tr>
				<td><label for="shortName">机构简称：</label></td>
				<td><input type="text" name="sysOrganizationBean.shortName"
					id="shortName" /></td>
			</tr>
			<tr>
				<td><label for="shortName">机构号：</label></td>
				<td><input type="text"
					name="sysOrganizationBean.organizationNumber"
					id="organizationNumber" /></td>
			</tr>
			<tr>
				<td><label for="nodeImage">图片名称：</label></td>
				<td><input type="text" name="sysOrganizationBean.nodeImage"
					id="nodeImage" class="validate[custom[nodeImage]]" /></td>
			</tr>
			<tr>
				<td><label for="remark">备注：</label></td>
				<td><textarea rows="5" cols="19"
					name="sysOrganizationBean.remark" id="remark"></textarea></td>
			</tr>
		</table>
		</form>
		</fieldset>
		</td>
	</tr>
</table>
</div>
<input type="button" value="同级新增" id="sameLevelCreateButton"
	style="margin-right: 5px" disabled="disabled" />
<input type="button" value="次级新增" id="secondaryLevelCreateButton"
	style="margin-right: 5px" disabled="disabled" />
<input type="button" value="删除" id="deleteButton"
	style="margin-right: 5px" disabled="disabled" />
<input type="hidden" name="organizationId"
	value="${loginUser.organizationId}" id="organizationId" />
<input type="button" value="保存" id="saveButton"
	style="margin-right: 10px" disabled="disabled" />
<div class="errbox">
<ul>
	<li>1、同级新增：从组织机构树中选中一组织机构节点便在组织机构编辑区显示该组织机构节点的相关信息,点'同级新增'便将组织机构编辑区信息清空,然后填写需要增加的组织机构节点信息后,点'保存'按钮便完成组织机构节点同级新增功能。</li>
	<li>2、次级新增：从组织机构树中选中一组织机构节点便在组织机构编辑区显示该组织机构节点的相关信息,点'次级新增'便将组织机构编辑区信息清空,然后填写需要增加的组织机构节点信息后,点'保存'按钮便完成组织机构节点次级新增功能。</li>
	<li>3、删除：从组织机构树中选中一组织机构节点便在组织机构编辑区显示该组织机构节点的相关信息,点'删除'按钮便完成组织机构节点删除功能。</li>
	<li>4、保存：完成'同级新增'、'次级新增'组织机构节点新增功能,或则完成组织机构节点修改功能。</li>
</ul>
</div>
</body>
</html>